package HomeWork.Extends_04;

public class Dog extends Animal{
    public Dog() {
    }

    public Dog(String color, int age) {
        super(color, age);
    }

    @Override
    protected void eat(String something) {
        System.out.println(this.getAge() + "岁的" + this.getColor() + "颜色的狗在吃" +something);
    }

    public void lookHome(){
        System.out.println("小狗在看家");
    }
}
